<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="/api/login" method="get">
    用户名：<input type='text' name="name">
    密码：<input type='password' name="password">
    <input type="submit" value="登录">
</form>

</body>
</html>